package demo09;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class Test03 {
    public static void main(String[] args) {
        Map<String, String> hs = new HashMap<>();
        hs.put("das3", "dasd");
        hs.put("das2", "dasd");
        hs.put("das1", "dasd");
        Set<Map.Entry<String, String>> entries = hs.entrySet();
        for (Map.Entry<String, String> entry : entries) {
            System.out.println(entry.getKey() + entry.getValue());
        }

    }
}
